def get_bread_dict(cat3):

    # 通过指定的cat3找到cat2,找到cat1
    cat2 = cat3.parent
    cat1 = cat2.parent
    bread_dict = {
        "cat1":cat1,
        "cat2":cat2,
        "cat3":cat3
    }
    return bread_dict


